package com.palm.hubo2o.util;

import android.support.annotation.DrawableRes;

import com.palm.hubo2o.R;

public class EnumCode {


    /**
     * 彩种类别
     */
    public enum gameId {
        SSQ("双色球", R.drawable.ic_logo_ssq), QLC("七乐彩", R.drawable.ic_logo_qlc), D3("福彩3D", R.drawable.ic_logo_3d), HBP3("湖北快3", R.drawable.ic_logo_k3);
        private String name;
        private int iconId;

        gameId(String name, @DrawableRes int iconId) {
            this.name = name;
            this.iconId = iconId;
        }

        public String getName() {
            return name;
        }

        public int getIconId() {
            return iconId;
        }

        @Override
        public String toString() {
            return getName();
        }
    }

    /**
     * 各种玩法
     */
    public enum PlayType {
        SSQ_DS(0, "单式"), SSQ_FS(1, "复式"), SSQ_DT(2, "胆拖"), QLC_DS(0, "单式"), QLC_FS(1, "复式"),
        QLC_DT(2, "胆拖"), K3_HZ(30, "和值"), K3_3THTX(31, "三同号通选"), K3_3THDX(32, "三同号单选"),
        K3_2THFX(33, "二同号复选"), K3_2THDX(34, "二同号单选"), K3_3BT(35, "三不同"),
        K3_2BT(36, "二不同"), K3_3LH(37, "三连号"), D3_ZXDS(0, "直选单式"), D3_Z3DS(5, "组三单式"),
        D3_ZX(6, "直选"), D3_Z3FS(7, "组三复式"), D3_Z6(8, "组6"), D3_1DZX(31, "1D直选"),
        D3_2DZX(32, "2D直选"), D3_HZ(33, "和值"), D3_TX(34, "通选"), D3_C1D(35, "猜1D"),
        D3_C2D(36, "猜2D"), D3_BX3DX(38, "包选3单选"), D3_BX6DX(39, "包选6单选"), D3_CDX(40, "猜大小"),
        D3_C3T(41, "猜3同"), D3_TLJ(42, "拖拉机"), D3_CJO(43, "猜奇偶"), D3_BX3FS(138, "包选3复式"),
        D3_BX6FS(139, "包选6复式"), D3_DXBD(10, "单选包点"), D3_Z3BD(18, "组3包点"), D3_Z6BD(19, "组6包点");
        private int typeCode;
        private String typeName;


        PlayType(int typeCode, String typeName) {
            this.typeCode = typeCode;
            this.typeName = typeName;
        }

        public int getTypeCode() {
            return typeCode;
        }

        public void setTypeCode(int typeCode) {
            this.typeCode = typeCode;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }
    }


}